﻿namespace ETask.Api.Models
{
    /// <summary>
    /// 项目任务
    /// </summary>
    public class ProjectTask : BaseEntity
    {
        /// <summary>
        /// 项目id
        /// </summary>
        public int ProjectId { get; set; }

        /// <summary>
        /// 任务描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 分配给的项目成员
        /// </summary>
        public int AssignedTo { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// 截至日期
        /// </summary>
        public DateTime DueDate { get; set; }

        public DateTime? ActualEndDate { get; set; }

        /// <summary>
        /// 任务状态 0 进行中 1 已完成
        /// </summary>
        public int Status { get; set; }
    }
}
